package com.hhs.storage.service;

import com.hhs.storage.bean.BaseLogs;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hhs.storage.bean.InputParam;
import org.springframework.web.bind.annotation.PostMapping;

import java.time.LocalDate;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hhs
 * @since 2022-12-16
 */
public interface BaseLogsService extends IService<BaseLogs> {
    public Map<String, Object> getAll(BaseLogs logs, InputParam inputParam);

    public Map<String, Object> getDayAll(String date);

    public Map<String, Object> getByIdAll(String userId, String module, LocalDate workDate, Boolean secondWeek);

    public Map<String, Object> getByIdList(String id);

    public void log(String module, String func, String paramStr);

    public void log(String userId, String module, String func, String paramStr);

    public void log(String module, String func, String paramStr, Object oldData, String targetId, LocalDate tableDate, String setUserId);

    public Map<String, Object> dele(String id);

}
